package com.youlai.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youlai.system.pojo.entity.ExampleStudent;
import com.youlai.system.pojo.form.StudentForm;
import com.youlai.system.pojo.query.StudentPageQuery;
import com.youlai.system.pojo.vo.StudentPageVO;

public interface ExampleStudentService extends IService<ExampleStudent> {

    /**
     * 学生查询分页列表
     * @return
     */
    Page<StudentPageVO> getStudentPage(StudentPageQuery queryParams);


    /**
     * 学生信息详情
     * @param id
     * @return
     */
    StudentForm getStudentForm(Long id);

    /**
     * 新增学生
     * @param studentForm
     * @return
     */
    boolean saveStudent(StudentForm studentForm);

    /**
     * 修改学生
     * @param id
     * @param studentForm
     * @return
     */
    boolean updateStudent(Long id,StudentForm studentForm);

    /**
     * 删除学生
     * @param ids
     * @return
     */
    boolean deleteStudent(String ids);

}
